import React, { Component } from 'react';
import {withRouter} from 'react-router-dom'
import './searchInput.scss'
class searchInput extends Component {
  handleClick = (params) => {
    this.props.history.push('/searchContent')
  }
  
  render() {
    return (
      <div className='search-input-box'>
        <div onClick={this.handleClick.bind(this)} className='search-input'>搜索</div>
      </div>
    );
  }
}

export default withRouter(searchInput);